import request from '@/utils/http.js'

export function pcIndex(params) {
  return request({
    url: '/api/Theme/pcIndex',
    method: 'get',
    params: params
  })
}

export function GetMySelfThemeOrThemeReply(params) {
  return request({
    url: '/api/Theme/GetMySelfThemeOrThemeReply',
    method: 'get',
    params: params
  })
}

export function deleteTheme(data) {
  return request({
    url: '/api/Theme/delete',
    method: 'post',
    data
  })
}

export function UpdateThemeStatus(data) {
  return request({
    url: '/api/Theme/UpdateThemeStatus',
    method: 'post',
    data
  })
}

export function UpdateThemeRecommend(data) {
  return request({
    url: '/api/Theme/UpdateThemeRecommend',
    method: 'post',
    data
  })
}
